package com.hpe.fastfood.pojo;

/**
 * @ClassName: Order
 * @Description:TODO 订单主表的实体类
 * @author: dwx
 * @date: 2018年11月22日 上午11:36:50
 */
public class Order {

	private int orderId;// 订单主表id

	private String orderCreationTime;// 订单创建时间

	private String orderDeliveryTime;// 订单送达时间

	private double orderPrice;// 订单价格

	private int userId;// 用户ID

	private int userAddressId;// 用户收货地址ID

	private int state;// 配送状态0:未送达1:已送达

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public String getOrderCreationTime() {
		return orderCreationTime;
	}

	public void setOrderCreationTime(String orderCreationTime) {
		this.orderCreationTime = orderCreationTime;
	}

	public String getOrderDeliveryTime() {
		return orderDeliveryTime;
	}

	public void setOrderDeliveryTime(String orderDeliveryTime) {
		this.orderDeliveryTime = orderDeliveryTime;
	}

	public double getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(double orderPrice) {
		this.orderPrice = orderPrice;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getUserAddressId() {
		return userAddressId;
	}

	public void setUserAddressId(int userAddressId) {
		this.userAddressId = userAddressId;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Order [orderId=" + orderId + ", orderCreationTime=" + orderCreationTime + ", orderDeliveryTime="
				+ orderDeliveryTime + ", orderPrice=" + orderPrice + ", userId=" + userId + ", userAddressId="
				+ userAddressId + ", state=" + state + "]";
	}

}
